Edit Task: SetPossibilityResourceUsageType
Format
SCHED / EditTask '<TaskName>' SetPossibilityResourceUsageType '<PossibilityName>' '<ResourceName>' <CapacityType>
Description
The SetPossibilityResourceUsageType attribute under EditTask defines the resource usage's capacity type for a single task possibility.
Parameters
Parameter | Description |
---|---|
PossibilityName | A string of text with a comma delimited list of resources in the possibility, surrounded by single quotes. Order is not required and the resource names should not be in quotes. |
ResourceName | A string of text in single quotes of the resource that is to be defined by the command. |
CapacityType | Options are Resilient, Deplete, Replenish, DeleteAtStop, ReplenishAtStart, SetEndValue, WithinRange, or NA. This value must be compatible with the corresponding resource capacity attributes. |
Examples
Change the resource usage type to Deplete for ResB in the possibility that uses ResA, ResB and ResC
SCHED / EditTask 'TaskA' SetPossibilityResourceUsageType 'ResA,ResB,ResC' 'ResB' Deplete